package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Phone       string `json:"phone" gorm:"type:char(11);comment:'手机号'"`
	Password    string `json:"password" gorm:"type:varchar(50);comment:'密码'"`
	Age         int64  `json:"age" gorm:"type:int(11);comment:'年龄'"`
	AtivePlace  string `json:"ative_place" gorm:"type:varchar(100);comment:'籍贯'"`
	Email       string `json:"email" gorm:"type:varchar(100);comment:'邮箱'"`
	HeaderImage string `json:"header_image" gorm:"type:varchar(50);comment:'头像'"`
}
